package com.qingzhou.web.service;

import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;
import com.qingzhou.web.repository.entity.SurgeryEntity;
import com.qingzhou.web.service.impl.params.request.*;
import com.qingzhou.web.service.impl.params.vo.SurgeryVo;

/**
 *
 * @author 李海
 */
public interface SurgeryService extends IService<SurgeryEntity> {

    int add(SurgeryAddForm form);
    int delete(SurgeryDeleteForm form);
    Page<SurgeryVo> page(Page<SurgeryEntity> page, SubTablePageForm form);
    SurgeryVo detail(SurgeryDetailForm form);
    int edit(SurgeryEditForm form);
    int forceEdit(SurgeryForceEditForm form);
    int done(SurgeryDoneForm form);
    int stop(SurgeryStopForm form);
}
